home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / wsc4c21.zip / BCB_PRJ.MAK (.txt) < prev    next >
Borland C/C++ Project  |  1997-05-31  |  2KB  |  49 lines

  1. # ---------------------------------------------------------------------------
  2. VERSION = BCB.01
  3. # ---------------------------------------------------------------------------
  4. !ifndef BCB
  5. BCB = $(MAKEDIR)\..
  6. !endif
  7. # ---------------------------------------------------------------------------
  8. PROJECT = bcb_prj.exe
  9. OBJFILES = bcb_prj.obj BCB_PGM.obj
  10. RESFILES = bcb_prj.res
  11. RESDEPEN = $(RESFILES) BCB_PGM.dfm
  12. LIBFILES = 
  13. DEFFILE =
  14. # ---------------------------------------------------------------------------
  15. CFLAG1 = -Od -Hc -w -k -r- -y -v -vi- -c -a4 -b- -w-par -w-inl -Vx -Ve -x
  16. CFLAG2 = -I$(BCB)\include;$(BCB)\include\vcl -H=$(BCB)\lib\vcld.csm
  17. PFLAGS = -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE \
  18.    -U$(BCB)\lib\obj;$(BCB)\lib -I$(BCB)\include;$(BCB)\include\vcl -v -$Y -$W \
  19.    -$O- -JPHNV -M
  20. RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl
  21. LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib -aa -Tpe -x -v -V4.0
  22. IFLAGS =
  23. LINKER = ilink32
  24. # ---------------------------------------------------------------------------
  25. ALLOBJ = c0w32.obj $(OBJFILES)
  26. ALLRES = $(RESFILES)
  27. ALLLIB = $(LIBFILES) wsc32.lib vcl.lib import32.lib cp32mt.lib
  28. # ---------------------------------------------------------------------------
  29. .autodepend
  30. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  31.     $(BCB)\BIN\$(LINKER) @&&!
  32.     $(LFLAGS) +
  33.     $(ALLOBJ), +
  34.     $(PROJECT),, +
  35.     $(ALLLIB), +
  36.     $(DEFFILE), +
  37.     $(ALLRES)
  38. .pas.hpp:
  39.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  40. .pas.obj:
  41.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  42. .cpp.obj:
  43.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $*
  44. .c.obj:
  45.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
  46. .rc.res:
  47.     $(BCB)\BIN\brcc32 $(RFLAGS) $<
  48. #-----------------------------------------------------------------------------
  49.